package com.zgs.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rabbitmq.client.Channel;
import com.zgs.common.utils.PageUtils;
import com.zgs.mall.ware.entity.WareOrderTaskDetailEntity;
import com.zgs.mall.ware.entity.WareSkuEntity;
import com.zgs.mall.ware.vo.LockStockResult;
import com.zgs.mall.ware.vo.SkuHasStockVo;
import com.zgs.mall.ware.vo.WareSkuLockVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author zgs
 * @email 
 * @date 2020-07-12 14:52:47
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);


    List<SkuHasStockVo> getSkuhasStock(List<Long> skuIds);

    Boolean orderLockStock(WareSkuLockVo co);


}

